<!-- src/views/Home.vue -->
<template>
  <el-container class="home-container">
    <el-main class="subpage-main">
      <router-view />
    </el-main>
  </el-container>
</template>

<script setup lang="ts">
// 什么都不用，只负责渲染子路由
</script>

<style scoped>
.home-container {
  padding: 20px;
  background-color: #f5f7fa;
  min-height: 100vh;
}

.subpage-main {
  padding: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  min-height: 400px;
}
</style>